import Layout from "@/layout/index.vue";

export const deptContractRoutes = [
    {
        path: '/contract',
        component: Layout,
        hidden: true,
        children: [
            {
                permissions: ['con:dept:page'],
                path: 'dept/view/:conId(\\d+)',
                component: () => import('@/views/contract/dept/contractMain.vue'),
                name: 'ConDeptView',
                meta: { title: '部门合同详情', activeMenu: '/contract/dept' }
            }
        ]
    },
    {
        path: '/contract',
        hidden: true,
        children: [
            {
                path: 'dept/openFile/:conId(\\d+)',
                component: () => import('@/views/contract/dept/flowInfo/contractFile.vue'),
                name: 'ConDeptFile',
                meta: { title: '合同正文' }
            },
        ]
    },
]